module.exports = () => {
  return async function (ctx, next){
    const startTime = Date.now();
    await next();
    let t = Date.now() - startTime;
    console.log('---------------------------');
    console.log(t);
    console.log('---------------------------');
  }
}